package co.edu.eam.iso.evaluated;

import java.math.BigDecimal;
import java.util.Map;

import co.edu.eam.iso.enums.SubCharacteristicEnum;
import co.edu.eam.iso.evaluator.Characteristic;

public class CharacteristicEvaluated {

	private Characteristic characteristic;
	private Map<SubCharacteristicEnum, SubCharacteristicEvaluated> subCharacteristics;
	private BigDecimal quality;
	private BigDecimal qualityVStotal;
	
	/**
	 * @return the characteristic
	 */
	public Characteristic getCharacteristic() {
		return characteristic;
	}
	
	/**
	 * @param characteristic the characteristic to set
	 */
	public void setCharacteristic(Characteristic characteristic) {
		this.characteristic = characteristic;
	}
	
	/**
	 * @return the subCharacteristics
	 */
	public Map<SubCharacteristicEnum, SubCharacteristicEvaluated> getSubCharacteristics() {
		return subCharacteristics;
	}
	
	/**
	 * @param subCharacteristics the subCharacteristics to set
	 */
	public void setSubCharacteristics(
			Map<SubCharacteristicEnum, SubCharacteristicEvaluated> subCharacteristics) {
		this.subCharacteristics = subCharacteristics;
	}
	
	/**
	 * @return the quality
	 */
	public BigDecimal getQuality() {
		return quality;
	}
	
	/**
	 * @param quality the quality to set
	 */
	public void setQuality(BigDecimal quality) {
		this.quality = quality;
	}
	
	/**
	 * @return the qualityVStotal
	 */
	public BigDecimal getQualityVStotal() {
		return qualityVStotal;
	}
	
	/**
	 * @param qualityVStotal the qualityVStotal to set
	 */
	public void setQualityVStotal(BigDecimal qualityVStotal) {
		this.qualityVStotal = qualityVStotal;
	}
	
	public String toString() {
		return characteristic.getCharacteristicEnum().toString();
	}
	
}
